<!doctype html>
<html>
	<head>
		<meta charset="UTF-8" />
		<title> {:L('ADMIN_CENTER')}</title>
		<link rel="icon" href="__TMPL__Public/assets/images/logo-18.png" type="image/x-icon">
		<link rel="shortcut icon" href="__TMPL__Public/assets/images/logo-18.png" type="image/x-icon">
		<meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge" />
		<meta name="renderer" content="webkit|ie-comp|ie-stand">
		<meta name="robots" content="noindex,nofollow">
		<link href="__TMPL__Public/assets/css/admin_login.css" rel="stylesheet" />
		<style>
			body {
				background: url(http://www.chamerfood.com/wp-content/uploads/2015/11/color17-1024x576.png)center fixed no-repeat;
				background-color:#def;
				overflow: hidden;
				height: 100%;
				background-size: cover;
				-webkit-background-size: cover;
				-moz-background-size: cover;
				-o-background-size: cover;
				padding: 0;
				margin: 0;
				font-family: Arial, "Microsoft Yahei";
			}
			#login_btn_wraper{
				text-align: center;
			}
			#login_btn_wraper .tips_success{
				color:#fff;
			}
			#login_btn_wraper .tips_error{
				color:#DFC05D;
			}
		</style>
		<script>
			if (window.parent !== window.self) {
					document.write = '';
					window.parent.location.href = window.self.location.href;
					setTimeout(function () {
							document.body.innerHTML = '';
					}, 0);
			}
		</script>

	</head>
<body>
    <!--[if lt IE 9]>
      	<div align="center">
      		<h1>您的浏览器版本过低、已影响使用。请更换高版本浏览器</h1>
      		<h3>→<a href="http://www.maxthon.cn/" target="_blank">点击下载推荐浏览器</a>←</h3>
      	</div>
    <![endif]-->
	<div class="wrap">
		<h1><a href="__ROOT__"> {:L('ADMIN_CENTER')}</a></h1>
		<form method="post" name="login" action="{:U('public/dologin')}" autoComplete="off" class="js-ajax-form">
			<div class="login">
				<ul>
					<li>
						<input class="input" id="js-admin-name" required name="username" type="text" maxlength="32" placeholder="{:L('USERNAME_OR_EMAIL')}" title="{:L('USERNAME_OR_EMAIL')}" value="{$_COOKIE['admin_username']}"/>
					</li>
					<li>
						<input class="input" id="admin_pwd" type="password" required name="password" maxlength="32" placeholder="{:L('PASSWORD')}" title="{:L('PASSWORD')}" />
					</li>
					<li class="verifycode-wrapper">
						{:sp_verifycode_img('length=4&font_size=20&width=248&height=42&use_noise=1&use_curve=0','style="cursor: pointer;" title="点击获取"')}
					</li>
					<li>
						<input class="input" type="text" name="verify" placeholder="{:L('ENTER_VERIFY_CODE')}" />
					</li>
				</ul>
				<div id="login_btn_wraper">
					<button type="submit" name="submit" class="btn js-ajax-submit" data-loadingmsg="{:L('LOADING')}">{:L('LOGIN')}</button>
				</div>
			</div>
		</form>
	</div>

<script>
var GV = {
	DIMAUB: "",
	JS_ROOT: "__PUBLIC__/js/",//js版本号
	TOKEN : ''	//token ajax全局
};
</script>
<script src="__PUBLIC__/js/wind.js"></script>
<script src="__PUBLIC__/js/jquery.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
<script>
;(function(){
	document.getElementById('js-admin-name').focus();
})();
</script>
</body>
</html>
